<%-- $Id$ --%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>

	<head>
		<title>Recording :: Edit</title>
		<meta name="object" content="recording">
	</head>

	<body>

		<div id="apphead">
			<h2>Recording :: <em>Edit</em></h2>
		</div>

		<div id="projecthome" class="app">

			<form:form commandName="recording">
				<div id="axial" class="h3">
					<h3>Data</h3>
					<div class="axial">
						<table border="0" cellspacing="2" cellpadding="3">
							<tr>
								<th>Title</th>
								<td>
									<form:input path="title" size="100"/>
									<form:errors path="title" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>Artist</th>
								<td>${recording.artist.name}</td>
							</tr>
							<tr>
								<th>Year</th>
								<td>
									<form:input path="year" size="100"/>
									<form:errors path="year" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>Type</th>
								<td>
									<form:select items="${types}" path="type" itemLabel="label" itemValue="value"/>
									<form:errors path="type" cssClass="errormark"/>									
								</td>
							</tr>
							<tr>
								<th>Description</th>
								<td>
									<form:textarea path="description" rows="15" cols="60"/>
									<form:errors path="description" cssClass="errormark"/>
								</td>
							</tr>
						</table>
					</div>
					<div class="functnbar3">
						<input type="submit"/>
					</div>
				</div>
			</form:form>

		</div>

	</body>

</html>

